#!/bin/sh

#  The logging routine
Log() {
	logger -p install.info -t 'Parallels Installer' "$@"
}

# Retouch server bundles in order to flush cache
Log "Retouch Updater bundles"
touch '/Library/Parallels/Parallels Service.app' \
      '/Library/Parallels/Parallels Service.app/Contents/Plugins/Parallels Updater.app'

# Copy receipts to Parallels Receipts directory
SWD=`cd "${0%/*}"; pwd`
. "${SWD}"/receipt.sh

# Just to finish installation with good mood
true
